package com.hsd.model;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class Infor {
    private String deviceName;
    private String IMEI;
    private String alarmtype;
    private String alarmtime;
    private String ontime;
    private String deviceid;
    private String status;
    public String getDevicename() {
        return deviceName;
    }

    public void setDevicename(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getIMEI() {
        return IMEI;
    }

    public void setIMEI(String iMEI) {
        IMEI = iMEI;
    }

    public String getAlarmtype() {
        return alarmtype;
    }

    public void setAlarmtype(String alarmtype) {
        this.alarmtype = alarmtype;
    }

    public String getAlarmtime() {
        return alarmtime;
    }

    public void setAlarmtime(String alarmtime) {
        this.alarmtime = alarmtime;
    }

    public String getOntime() {
        return ontime;
    }

    public void setOntime(String ontime) {
        this.ontime = ontime;
    }

    public String getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public Map<String,Object>getAll(){
        Map<String, Object> jtemp = new HashMap<String, Object>();
        jtemp.put("devicename",this.deviceName);
        jtemp.put("IMEI",this.IMEI);
        jtemp.put("alarmtype",this.alarmtype);
        jtemp.put("alarmtime",this.alarmtime);
        jtemp.put("ontime",this.ontime);
        jtemp.put("deviceid",this.deviceid);
        jtemp.put("status",this.status);
        return jtemp;
    }


}
